package com.zjw.kaos.service.impl;

import com.zjw.kaos.mapper.RecordMapper;
import com.zjw.kaos.pojo.DateRedcord;
import com.zjw.kaos.pojo.TransactionRecord;
import com.zjw.kaos.service.RecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class RecordServiceImpl implements RecordService {
    @Resource
    private RecordMapper recordMapper;


    @Override
    public List<TransactionRecord> getRecordByTransactionDate(DateRedcord dateRedcord) {
        return recordMapper.getRecordByTransactionDate(dateRedcord);
    }
}
